package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;

import java.util.List;

/**
 * @author ZhangYuJie
 * projectName:shop_manage
 * time:2022/5/17 8:19
 * description:
 */
public interface DtsGoodsService {
    int count();

    IPage<DtsGoods> querySelective(String goodsSn, String name, Integer page, Integer limit, String sort, String order, List<Integer> brandIds);

    int updateById(DtsGoods goods);

    void deleteById(Integer gid);

    DtsGoods findById(Integer id);

    boolean checkExistByName(String name);

    void add(DtsGoods goods);
}
